#include "CLineEdit.h"

CLineEdit::CLineEdit(QWidget *parent) : QLineEdit(parent)
{

}
//重写mousePressEvent事件
void CLineEdit::mousePressEvent(QMouseEvent *event){
    if (event->button() == Qt::LeftButton){
        emit clicked();
    }

    QLineEdit::mousePressEvent(event);
}
